from flask_script import Manager

from utils.functions import create_app,db
from flask_migrate import Migrate, MigrateCommand
app = create_app()
migrate = Migrate(app, db)
manage = Manager(app=app)
manage.add_command('db', MigrateCommand)
if __name__ == '__main__':
    manage.run()
